home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000055_news@columbia.edu _Wed Oct 4 22:09:08 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id WAA02519
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 4 Oct 2000 22:09:07 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA29674
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 4 Oct 2000 22:09:07 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA04960
  10.     for kermit.misc@watsun.cc.columbia.edu; Wed, 4 Oct 2000 21:41:34 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: "Steve" <steve@baus-systems.com>
  13. Subject: Re: No Carrier
  14. Message-ID: <y_QC5.4768$bI6.281878@news1.giganews.com>
  15. Organization: Giganews.Com - Premium News Outsourcing
  16. Date: Thu, 05 Oct 2000 01:40:46 GMT
  17. To: kermit.misc@columbia.edu
  18.  
  19.  
  20. Jeffrey Altman <jaltman@watsun.cc.columbia.edu> wrote in message
  21. news:8rgbe1$q2h$1@newsmaster.cc.columbia.edu...
  22. > In article <YaOC5.4391$bI6.264432@news1.giganews.com>,
  23. > Steve <steve@baus-systems.com> wrote:
  24. > : I have software that runs on DOS computers that uses Kermit 3.15 to
  25. transfer
  26. > : files to a server running a DOS application under Windows 95 also using
  27. > : Kermit 3.15.  The DOS computer initiates everything, the connection, the
  28. > : file transfers, etc.  The files are either transferred locally using a
  29. > : serial cable or remotely over a modem.  Everything works fine.  We are
  30. > : trying to switch from 3.15 on the server to K95 to allow multiple
  31. transfers
  32. > : on the same server at a time and have created the server program using
  33. VB.
  34. > : It seems to work fine except over a modem.  After the DOS computer calls
  35. in
  36. > : and connects, the first thing it does is issue a FIN to reset the server
  37. in
  38. > : case the previous transfer did not go to completion.  In the K95 version
  39. > : over a modem, I always get a no carrier on the DOS computer immediately
  40. > : after the FIN as the modem on the server side appears to drop the
  41. > : connection.  I can tell the server did get the FIN and the DOS computer
  42. > : should pause for a couple of seconds before issuing the next command.
  43. > :
  44. > : We are using a shell command to call K95 that looks like:
  45. > :
  46. > : For the modem file transfer the .ini file looks like:
  47. > : set carrier off
  48. > : set port 1
  49. > : set speed 9600
  50. > : set incomplete discard
  51. > : set send packet 94
  52. > : set retry 60
  53. > : set flow xon/xoff
  54. > : set handshake none
  55. > : set duplex full
  56. > : output AT s0=1\13
  57. > : output AT s37=9\13
  58. > : server
  59. > : exit
  60. > :
  61. > : The dial string we use on the DOS computer side is:
  62. > : output AT&F&C0&D1s37=9N0DT [phone number]\13
  63. > :
  64. > : Any ideas on why I am dropping the line?  Any suggestions on better
  65. settings
  66. > : on either the server or DOS side?
  67. > :
  68. > : Thanks,
  69. > : Steve
  70. >
  71. > The FINISH command sent by the client and received by the SERVER causes
  72. > the SERVER command to terminate.  Therefore, the EXIT command is executed
  73. > and the K95 session terminates hanging up the modem
  74. >
  75. > There is no need for the FINISH command to be sent, if the previous
  76. > session was closed prematurely by the client the SERVER command would
  77. > be automaticly terminated when the carrier signal was lost by the modem.
  78. >
  79. > Also, instead of using OUTPUT AT ... just configure the modem with the
  80. > proper SET MODEM TYPE command and use the ANSWER command to receive the
  81. > incoming call.
  82. >
  83. >                   Jeffrey Altman * Sr.Software Designer
  84. >                  The Kermit Project * Columbia University
  85. >                612 West 115th St * New York, NY * 10025 * USA
  86. >      http://www.kermit-project.org/ * kermit-support@kermit-project.org
  87.  
  88. The reason for the exit in the .ini after the server is before we put it in,
  89. when we would FIN on the DOS client, the server would go to the K95> prompt.
  90. We originally invoked K95 by shelling out using:
  91. k95 -l Com2  -b 9600 -x
  92. Then for flexibility purposes we thought we could use an ini file so we
  93. changed the command line to:
  94. k95 -y IniFileName
  95.  
  96. This is where we started running into the K95> prompt issue.  I have since
  97. changed to:
  98. k95 -y IniFileName -x
  99. and have taken out the server and exit lines of the .ini but am still
  100. getting the no carrier, even when I try the set modem type and the answer.
  101. The modem I am testing with is a Cnet 56K, not sure what modem type I should
  102. specify, I have been telling it generic-high-speed.
  103.  
  104. Is the FIN what is causing the no carrier?  If so that is going to be a
  105. problem as I doubt we can update the clients to change this.  If I am
  106. running the server command in 3.15 instead of K95 and send a FIN from the
  107. DOS client all the time and it does not drop the line.  Is this a change
  108. with K95?
  109.  
  110. FYI...This may give you a better idea of how the server software works:
  111.  
  112. DO
  113.     Do Until Client ID File is received
  114.         Change to generic receive directory
  115.         K95 server (receive client ID file)
  116.     End Do
  117.  
  118.     Open ID File, get Client ID
  119.     Change to client specific directory
  120.     K95 server (receive client data files)
  121.     Process client data files
  122.  
  123. End Do
  124.  
  125. Any thoughts?
  126. Steve
  127.  
  128.